package c.d.a.a.b;

import c.d.a.a.d.e;
import java.util.ArrayList;
import java.util.List;

/* compiled from: AxisBase */
public abstract class a extends b {
    public e f;
    public int g = -7829368;
    public float h = 1.0f;
    public int i = -7829368;
    public float j = 1.0f;
    public float[] k = new float[0];
    public float[] l = new float[0];
    public int m;
    public int n;
    public int o = 6;
    public float p = 1.0f;
    public boolean q = true;
    public boolean r = true;
    public boolean s = true;
    public List<g> t = new ArrayList();
    public boolean u = true;
    public float v = 0.0f;
    public float w = 0.0f;
    public float x = 0.0f;
    public float y = 0.0f;
    public float z = 0.0f;

    public void a(float f, float f2) {
        f -= this.v;
        f2 += this.w;
        if (Math.abs(f2 - f) == 0.0f) {
            f2 += 1.0f;
            f -= 1.0f;
        }
        this.y = f;
        this.x = f2;
        this.z = Math.abs(f2 - f);
    }

    public String b(int i) {
        return (i < 0 || i >= this.k.length) ? "" : d().a(this.k[i]);
    }

    public String c() {
        String str = "";
        for (int i = 0; i < this.k.length; i++) {
            String b = b(i);
            if (b != null && str.length() < b.length()) {
                str = b;
            }
        }
        return str;
    }

    public e d() {
        e eVar = this.f;
        if (eVar == null || ((eVar instanceof c.d.a.a.d.a) && ((c.d.a.a.d.a) eVar).b != this.n)) {
            this.f = new c.d.a.a.d.a(this.n);
        }
        return this.f;
    }
}
